{extend name="../../admin/view/main"}

{block name='content'}
<form action="{:sysuri()}" class="layui-card layui-form" data-auto="true" method="post">
    <div class="layui-card-body">

        <label class="layui-form-item relative block">
            <span class="help-label"><b>手机号</b></span>
            <input class="layui-input" name="phone" placeholder="请输入手机号" required value='{$vo.phone|default=""}'>
        </label>

        <label class="layui-form-item relative block">
            <span class="help-label"><b>昵称</b></span>
            <input class="layui-input" name="nickname" placeholder="请输入昵称" required
                   value='{$vo.nickname|default=""}'>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>密码</b></span>
            <input class="layui-input" type="password" name="password" placeholder="请输入密码" required
                   value='{$vo.password|default=""}'>
        </label>


        <div class="hr-line-dashed"></div>
        {notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}

        <div class="layui-form-item text-center">
            <button class="layui-btn" type="submit">保存数据</button>
            <button class="layui-btn layui-btn-danger" data-history-back data-confirm="确定要取消编辑吗？" type='button'>
                取消编辑
            </button>
        </div>
    </div>

</form>

<script>

</script>
{/block}
